<div>
    <form class="form-horizontal bv-form"  role="form"  id="updateForm">
        <fieldset>
            <legend>基本信息</legend>
            <div class="form-group">
                <label class="col-sm-3 control-label">题目名称</label>
                <div class="col-sm-5">
                    <input type="text"  disabled class="form-control" value="{$res.subject_question}" name="subject_question">

                </div>
            </div>
            <!--<div class="form-group">-->
                <!--<label class="col-sm-3 control-label">答案</label>-->
                <!--<div class="col-sm-5">-->
                    <!--{if $res['subject_type']==2}-->
                        <!--{if $res['subject_answer'] ==1}-->
                        <!--<input type="text"  disabled class="form-control" value="对">-->
                        <!--{else /}-->
                        <!--<input type="text"  disabled class="form-control" value="错">-->
                        <!--{/if}-->
                    <!--{else /}-->
                        <!--{if $res['subject_answer'] ==1}-->
                        <!--<input type="text"  disabled class="form-control" value="{$res['subject_a']}">-->
                        <!--{elseif $res['subject_answer']==2 /}-->
                        <!--<input type="text"  disabled class="form-control" value="{$res['subject_b']}">-->
                         <!--{elseif $res['subject_answer']==3 /}-->
                         <!--<input type="text"  disabled class="form-control" value="{$res['subject_c']}">-->
                         <!--{else /}-->
                        <!--<input type="text"  disabled class="form-control" value="{$res['subject_d']}">-->
                         <!--{/if}-->
                    <!--{/if}-->
                <!--</div>-->
            <!--</div>-->
            {if $res['subject_type']==1}
            <div class="form-group">
                <label class="col-sm-3 control-label">题目</label>
                <div class="col-sm-5">
                    <input type="radio" {if $res['subject_answer']==1}checked="checked"{/if}>{$res.subject_a}<br/>
                    <input type="radio" {if $res['subject_answer']==2}checked="checked"{/if}>{$res.subject_b}<br/>
                    <input type="radio" {if $res['subject_answer']==3}checked="checked"{/if}>{$res.subject_c}<br/>
                    <input type="radio" {if $res['subject_answer']==4}checked="checked"{/if}>{$res.subject_d}
                </div>
            </div>
            {/if}
            {if $res['subject_type']==2}
            <div class="form-group">
                <label class="col-sm-3 control-label">题目</label>
                <div class="col-sm-5">
                    <input type="radio" disabled {if $res['subject_answer']==1}checked="checked"{/if}>{$res.subject_a}<br/>
                    <input type="radio" disabled {if $res['subject_answer']==2}checked="checked"{/if}>{$res.subject_b}<br/>
                </div>
            </div>
            {/if}
            <div class="form-group">
                <label class="col-sm-3 control-label">试题简介</label>
                <div class="col-sm-5">
                    <textarea class="form-control" disabled rows="5" name="subject_introduction">{$res.subject_introduction}</textarea>
                </div>
            </div>
        </fieldset>
    </form>

</div>
<!-- 编辑器源码文件 -->




